package com.hs.spring.starter;

import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration
@ConfigurationProperties(prefix="bean")
@PropertySource("classpath:bean.properties")
@Data
@ToString
public class BeanProperties {

    private Integer id;
    private String name;
    private String beanName;
}
